package com.linkus.wisdomhall.core.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;


/**
 * 数据字典表
 * 
 * @author linkus
 * @email admin@linkus.com
 * @date 2018-12-07 10:55:58
 */
@Table(name = "common_dictionary")
public class CommonDictionary implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //
    @Id
    private Integer id;
	
	    //字典描述
    @Column(name = "description")
    private String description;
	
	    //字典项
    @Column(name = "items")
    private String items;
	
	    //字典名称
    @Column(name = "code")
    private String code;
	
	    //版本
    @Column(name = "version")
    private Integer version;
	

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：字典描述
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * 获取：字典描述
	 */
	public String getDescription() {
		return description;
	}
	/**
	 * 设置：字典项
	 */
	public void setItems(String items) {
		this.items = items;
	}
	/**
	 * 获取：字典项
	 */
	public String getItems() {
		return items;
	}
	/**
	 * 设置：字典名称
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * 获取：字典名称
	 */
	public String getCode() {
		return code;
	}
	/**
	 * 设置：版本
	 */
	public void setVersion(Integer version) {
		this.version = version;
	}
	/**
	 * 获取：版本
	 */
	public Integer getVersion() {
		return version;
	}
}
